package myApp.KnorrAndroid.common;

import myApp.KnorrAndroid.controller.AbstractController;
import myApp.KnorrAndroid.lib.network.http.HTTPRequest;

public class ActionEvent {
	 public int action;
	 public Object modelData;
	 public Object viewData;
	 public Object userData;
	 public Object sender;
	 public int tag = 0;
	 
	 private int isController = -1;
	 //BangHN: xu ly relogin do mat session
	 public AbstractController controller;
	 //BangHN: xuy ly cancel request
	 public HTTPRequest request;
	 //BangHN: request co block (show progressDialog)
	 public boolean isBlockRequest;
	 public void reset(){
		 action = 0;
		 modelData = null;
		 viewData = null;
		 userData = null;
		 sender = null;
		 setIsController(-1);
	 }
	 

	public void setIsController(int isController) {
		this.isController = isController;
	}

	public int getIsController() {
		return isController;
	}
}
